package com.angel.architecture.flex.serialization.converter;

import java.io.Serializable;

import com.angel.architecture.flex.hibernate.HibernateUtils;

public class PersistentCollectionPlaceholder {
    private Serializable parentId;

    public Serializable getParentId() {
        return parentId;
    }

    public void setParentId(Serializable parentId) {
        this.parentId = parentId;
    }

    public PersistentCollectionPlaceholder() {
    }

    public PersistentCollectionPlaceholder(Object parentObject) {
        this.parentId = HibernateUtils.getObjectId(parentObject);
    }
}
